package com.zmx.patientend.view.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.zmx.patientend.BaseActivity;
import com.zmx.patientend.R;
import com.zmx.patientend.fragment.HomeFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 时间：2020/6/15 22:20
 * 功能：
 */
public class PatientsCircleActivity extends BaseActivity {

    @BindView(R.id.button1)
    Button button1;
    @BindView(R.id.button2)
    Button button2;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_patients_circle;
    }

    @Override
    protected void initViews() {

        setToolbar(R.id.tool_bar);

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.button1, R.id.button2})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.button1:

                Intent intent = new Intent(mActivity, CircleActivity.class);
                intent.putExtra("logo", "a");
                startActivity(intent);

                break;
            case R.id.button2:
                Intent intent1 = new Intent(mActivity, CircleActivity.class);
                intent1.putExtra("logo", "b");
                startActivity(intent1);
                break;
        }
    }
}
